home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / networking / otdumpportregistry / sample outputs / 9500, 7.6, ot 1.1.1 < prev   
Encoding:
Text File  |  2000-06-23  |  7.0 KB  |  336 lines

  1. OTDumpPortRegistry -- Dumps the Open Transport port registry to stdout
  2.  
  3. gestaltOpenTptVersions = 01118000
  4. gestaltMachineType = 00000043
  5. gestaltSystemVersion = 00000760
  6.  
  7. Hello Cruel World!
  8.  
  9.  
  10. ••• Dumping information for port “enet0”.
  11.  
  12. fPortFlags...
  13.   kOTPortIsActive = 1
  14.   kOTPortIsDisabled = 0
  15.   kOTPortIsUnavailable = 0
  16.   kOTPortIsOffline = 0
  17.  
  18. fInfoFlags = 0x08004001...
  19.   kOTPortIsDLPI = 1
  20.   kOTPortIsTPI = 0
  21.   kOTPortCanYield = 0
  22.   kOTPortCanArbitrate = 0
  23.   kOTPortIsTransitory = 0
  24.   kOTPortAutoConnects = 0
  25.   kOTPortIsSystemRegistered = 1
  26.   kOTPortIsPrivate = 0
  27.   kOTPortIsAlias = 0
  28.  
  29. fCapabilities = 0x0000000B
  30.   kOTFramingEthernet = 1
  31.   kOTFramingEthernetIPX = 1
  32.   kOTFraming8023 = 0
  33.   kOTFraming8022 = 1
  34.  
  35. No child ports.
  36.  
  37. fModuleName = mace
  38. fSlotID =  (only set on PCI ports).
  39. fResourceInfo = enet (optional config library name).
  40. fPortRef = 040a0000
  41.  
  42. Bus type is kOTMotherboardBus (1).
  43. Device type is kOTEthernetDevice (10).
  44. Slot number is 0, other is 0.
  45. OTGetUserPortNameFromPortRef = Ethernet
  46.  
  47.  
  48. ••• Dumping information for port “serialA”.
  49.  
  50. fPortFlags...
  51.   kOTPortIsActive = 0
  52.   kOTPortIsDisabled = 0
  53.   kOTPortIsUnavailable = 0
  54.   kOTPortIsOffline = 0
  55.  
  56. fInfoFlags = 0x00000006...
  57.   kOTPortIsDLPI = 0
  58.   kOTPortIsTPI = 1
  59.   kOTPortCanYield = 1
  60.   kOTPortCanArbitrate = 0
  61.   kOTPortIsTransitory = 0
  62.   kOTPortAutoConnects = 0
  63.   kOTPortIsSystemRegistered = 0
  64.   kOTPortIsPrivate = 0
  65.   kOTPortIsAlias = 0
  66.  
  67. fCapabilities = 0x00000009
  68.   kOTSerialFramingAsync = 1
  69.   kOTSerialFramingHDLC = 0
  70.   kOTSerialFramingSDLC = 0
  71.   kOTSerialFramingAsyncPackets = 1
  72.  
  73. No child ports.
  74.  
  75. fModuleName = serialAB
  76. fSlotID =  (only set on PCI ports).
  77. fResourceInfo =  (optional config library name).
  78. fPortRef = 0409000a
  79.  
  80. Bus type is kOTMotherboardBus (1).
  81. Device type is kOTSerialDevice (9).
  82. Slot number is 0, other is 10.
  83. OTGetUserPortNameFromPortRef = Serial built-in
  84.  
  85.  
  86. ••• Dumping information for port “serialB”.
  87.  
  88. fPortFlags...
  89.   kOTPortIsActive = 0
  90.   kOTPortIsDisabled = 0
  91.   kOTPortIsUnavailable = 0
  92.   kOTPortIsOffline = 0
  93.  
  94. fInfoFlags = 0x00000006...
  95.   kOTPortIsDLPI = 0
  96.   kOTPortIsTPI = 1
  97.   kOTPortCanYield = 1
  98.   kOTPortCanArbitrate = 0
  99.   kOTPortIsTransitory = 0
  100.   kOTPortAutoConnects = 0
  101.   kOTPortIsSystemRegistered = 0
  102.   kOTPortIsPrivate = 0
  103.   kOTPortIsAlias = 0
  104.  
  105. fCapabilities = 0x00000009
  106.   kOTSerialFramingAsync = 1
  107.   kOTSerialFramingHDLC = 0
  108.   kOTSerialFramingSDLC = 0
  109.   kOTSerialFramingAsyncPackets = 1
  110.  
  111. No child ports.
  112.  
  113. fModuleName = serialAB
  114. fSlotID =  (only set on PCI ports).
  115. fResourceInfo =  (optional config library name).
  116. fPortRef = 0409000b
  117.  
  118. Bus type is kOTMotherboardBus (1).
  119. Device type is kOTSerialDevice (9).
  120. Slot number is 0, other is 11.
  121. OTGetUserPortNameFromPortRef = Serial built-in
  122.  
  123.  
  124. ••• Dumping information for port “serial”.
  125.  
  126. fPortFlags...
  127.   kOTPortIsActive = 0
  128.   kOTPortIsDisabled = 0
  129.   kOTPortIsUnavailable = 0
  130.   kOTPortIsOffline = 0
  131.  
  132. fInfoFlags = 0x80000006...
  133.   kOTPortIsDLPI = 0
  134.   kOTPortIsTPI = 1
  135.   kOTPortCanYield = 1
  136.   kOTPortCanArbitrate = 0
  137.   kOTPortIsTransitory = 0
  138.   kOTPortAutoConnects = 0
  139.   kOTPortIsSystemRegistered = 0
  140.   kOTPortIsPrivate = 0
  141.   kOTPortIsAlias = 1
  142.  
  143. fCapabilities = 0x00000009
  144.   kOTSerialFramingAsync = 1
  145.   kOTSerialFramingHDLC = 0
  146.   kOTSerialFramingSDLC = 0
  147.   kOTSerialFramingAsyncPackets = 1
  148.  
  149. No child ports.
  150.  
  151. fModuleName = serialAB
  152. fSlotID =  (only set on PCI ports).
  153. fResourceInfo =  (optional config library name).
  154. fPortRef = 0409000a
  155.  
  156. Bus type is kOTMotherboardBus (1).
  157. Device type is kOTSerialDevice (9).
  158. Slot number is 0, other is 10.
  159. OTGetUserPortNameFromPortRef = Serial built-in
  160.  
  161.  
  162. ••• Dumping information for port “ltlkB”.
  163.  
  164. fPortFlags...
  165.   kOTPortIsActive = 0
  166.   kOTPortIsDisabled = 0
  167.   kOTPortIsUnavailable = 0
  168.   kOTPortIsOffline = 0
  169.  
  170. fInfoFlags = 0x00000001...
  171.   kOTPortIsDLPI = 1
  172.   kOTPortIsTPI = 0
  173.   kOTPortCanYield = 0
  174.   kOTPortCanArbitrate = 0
  175.   kOTPortIsTransitory = 0
  176.   kOTPortAutoConnects = 0
  177.   kOTPortIsSystemRegistered = 0
  178.   kOTPortIsPrivate = 0
  179.   kOTPortIsAlias = 0
  180.  
  181. fCapabilities = 0x00000000
  182.  
  183. No child ports.
  184.  
  185. fModuleName = adevShim
  186. fSlotID =  (only set on PCI ports).
  187. fResourceInfo = SCC0 (optional config library name).
  188. fPortRef = 0403000b
  189.  
  190. Bus type is kOTMotherboardBus (1).
  191. Device type is kOTLocalTalkDevice (3).
  192. Slot number is 0, other is 11.
  193. OTGetUserPortNameFromPortRef = Printer Port
  194.  
  195.  
  196. ••• Dumping information for port “ltlk”.
  197.  
  198. fPortFlags...
  199.   kOTPortIsActive = 0
  200.   kOTPortIsDisabled = 0
  201.   kOTPortIsUnavailable = 0
  202.   kOTPortIsOffline = 0
  203.  
  204. fInfoFlags = 0x80000001...
  205.   kOTPortIsDLPI = 1
  206.   kOTPortIsTPI = 0
  207.   kOTPortCanYield = 0
  208.   kOTPortCanArbitrate = 0
  209.   kOTPortIsTransitory = 0
  210.   kOTPortAutoConnects = 0
  211.   kOTPortIsSystemRegistered = 0
  212.   kOTPortIsPrivate = 0
  213.   kOTPortIsAlias = 1
  214.  
  215. fCapabilities = 0x00000000
  216.  
  217. No child ports.
  218.  
  219. fModuleName = adevShim
  220. fSlotID =  (only set on PCI ports).
  221. fResourceInfo = SCC0 (optional config library name).
  222. fPortRef = 0403000b
  223.  
  224. Bus type is kOTMotherboardBus (1).
  225. Device type is kOTLocalTalkDevice (3).
  226. Slot number is 0, other is 11.
  227. OTGetUserPortNameFromPortRef = Printer Port
  228.  
  229.  
  230. ••• Dumping information for port “ltlkA”.
  231.  
  232. fPortFlags...
  233.   kOTPortIsActive = 0
  234.   kOTPortIsDisabled = 0
  235.   kOTPortIsUnavailable = 0
  236.   kOTPortIsOffline = 0
  237.  
  238. fInfoFlags = 0x00000001...
  239.   kOTPortIsDLPI = 1
  240.   kOTPortIsTPI = 0
  241.   kOTPortCanYield = 0
  242.   kOTPortCanArbitrate = 0
  243.   kOTPortIsTransitory = 0
  244.   kOTPortAutoConnects = 0
  245.   kOTPortIsSystemRegistered = 0
  246.   kOTPortIsPrivate = 0
  247.   kOTPortIsAlias = 0
  248.  
  249. fCapabilities = 0x00000000
  250.  
  251. No child ports.
  252.  
  253. fModuleName = adevShim
  254. fSlotID =  (only set on PCI ports).
  255. fResourceInfo = SCC0 (optional config library name).
  256. fPortRef = 0403000a
  257.  
  258. Bus type is kOTMotherboardBus (1).
  259. Device type is kOTLocalTalkDevice (3).
  260. Slot number is 0, other is 10.
  261. OTGetUserPortNameFromPortRef = Modem Port
  262.  
  263.  
  264. ••• Dumping information for port “ddp1”.
  265.  
  266. fPortFlags...
  267.   kOTPortIsActive = 1
  268.   kOTPortIsDisabled = 0
  269.   kOTPortIsUnavailable = 0
  270.   kOTPortIsOffline = 0
  271.  
  272. fInfoFlags = 0x00008000...
  273.   kOTPortIsDLPI = 0
  274.   kOTPortIsTPI = 0
  275.   kOTPortCanYield = 0
  276.   kOTPortCanArbitrate = 0
  277.   kOTPortIsTransitory = 0
  278.   kOTPortAutoConnects = 0
  279.   kOTPortIsSystemRegistered = 0
  280.   kOTPortIsPrivate = 1
  281.   kOTPortIsAlias = 0
  282.  
  283. fCapabilities = 0x00000000
  284.  
  285. fChildPorts...
  286.   enet0
  287.  
  288. fModuleName = ddp
  289. fSlotID =  (only set on PCI ports).
  290. fResourceInfo =  (optional config library name).
  291. fPortRef = 03ff0001
  292.  
  293. Bus type is kOTUnknownBusPort (0).
  294. Device type is kOTPseudoDevice (1023).
  295. Slot number is 0, other is 1.
  296. OTGetUserPortNameFromPortRef = Unknown port “ddp1”
  297.  
  298.  
  299. ••• Dumping information for port “adev802x1”.
  300.  
  301. fPortFlags...
  302.   kOTPortIsActive = 1
  303.   kOTPortIsDisabled = 0
  304.   kOTPortIsUnavailable = 0
  305.   kOTPortIsOffline = 0
  306.  
  307. fInfoFlags = 0x00008000...
  308.   kOTPortIsDLPI = 0
  309.   kOTPortIsTPI = 0
  310.   kOTPortCanYield = 0
  311.   kOTPortCanArbitrate = 0
  312.   kOTPortIsTransitory = 0
  313.   kOTPortAutoConnects = 0
  314.   kOTPortIsSystemRegistered = 0
  315.   kOTPortIsPrivate = 1
  316.   kOTPortIsAlias = 0
  317.  
  318. fCapabilities = 0x00000000
  319.  
  320. fChildPorts...
  321.   enet0
  322.  
  323. fModuleName = adev802x
  324. fSlotID =  (only set on PCI ports).
  325. fResourceInfo =  (optional config library name).
  326. fPortRef = 03ff0002
  327.  
  328. Bus type is kOTUnknownBusPort (0).
  329. Device type is kOTPseudoDevice (1023).
  330. Slot number is 0, other is 2.
  331. OTGetUserPortNameFromPortRef = Unknown port “adev802x1”
  332.  
  333.  
  334. Success.
  335. Done.  Press command-Q to Quit.
  336.